package com.ws.entity;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author 王硕
 * @version jdk21
 * @className Programmer
 * @description
 * @date 2024/11/6 16:52
 */
@Data
@Accessors(chain = true)
public class Programmer {
    private int pid;
    private String pname;
    private char pgender;
    private double psalary;
    private int hot;

    public void show(){
        System.out.println("员工编号:"+pid);
        System.out.println("姓名:"+pname);
        System.out.println("性别:"+pgender);
        System.out.println("工资:"+psalary+"K");
        System.out.println("热度:"+hot);
    }
}
